\documentclass[doubleheaders,los,lof,lot,titlepage,oneside,openright,11pt]{epflthesis}

\input{head/pkgs.tex}
\input{head/defs.tex}

\usepackage[a4paper,textheight=22cm,includehead,head=20pt]{geometry}

% Set correct margin ratio for two-sided
\makeatletter
\if@twoside
\geometry{hmarginratio=3:2}
\fi
\makeatother

\DeclareUnicodeCharacter{00A0}{~}

% Setting variables
\author{Kathleen Jones}
\advisor{Alireza Karimi (EPFL)\\
Andrea Cortinovis (ABB) \\
Mehmet Mercangöz (ABB)}
\title{Distributed model predictive control of compressor systems}
\submitdate{29 July 2016}
\school{Ecole polytechnique fédérale de Lausanne}
\dept{Mechanical Engineering}
\logo{head/ABB_logo_small.png}
\city{Lausanne}
\printlos{%
  \printglossary[type=latin]
  \printglossary[type=greek]
}

\input{head/diagram}
\input{head/glossaries}
\input{head/acronyms}

% allow page breaks in multiline equations
\allowdisplaybreaks[3]

\abstract{\input{head/abstract.tex}}

\acknowledgements{\input head/acknowledgements}

\numberwithin{equation}{chapter}

% \includeonly{modelling/modelling,mpc/mpc}
% \includeonly{results/results}
% \includeonly{results/results,conclusion/conclusion}
% \includeonly{intro/intro}

\begin{document}

\include{intro/intro}

\include{litreview/litreview}

\include{modelling/modelling}

\include{mpc/mpc}

\include{results/results}

\include{conclusion/conclusion}

\appendix

\include{appendix/prediction}



\bibliographystyle{ieeetr}
\nocite{*}
\bibliography{end/MasterThesis.bib}



\end{document}
